package com.liangwj.springbootdesignpatterns.structureTypePatterns.adapter.demo_1.impl;

import com.liangwj.springbootdesignpatterns.structureTypePatterns.adapter.demo_1.AdvancedMediaPlayer;

/**
 * <b>Description:</b> 实现了更高级媒体播放器的实体类 <br/>
 * @author Lingwenjun
 * @date 2019/1/23-14:03
 * @version 1.0
 */
public class Mp4Player implements AdvancedMediaPlayer {
    @Override
    public void playVlc(String filename) {
        //TODO nothing
    }

    @Override
    public void playMp4(String filename) {
        System.out.println("Playing mp4 file.name: " + filename);
    }
}
